package com.bingquan.company.stream;

import java.util.stream.Stream;

public class FunctionMain {
    /**
     * 函数式编程 ，  String::length   区分于Lamda 编程的  s -> s.length
     *
     * @param args
     */
    public static void main(String[] args) {
        Stream.of("tom", "jack", "dances", "alis_hha").map(String::length).forEach(System.out::println);
    }
}
